package team.hyznrj.studentsys.dao.mapper;

import org.apache.ibatis.annotations.Param;
import team.hyznrj.studentsys.entity.ConductScore;
import team.hyznrj.studentsys.entity.table.ScoreQualityTable;
import team.hyznrj.studentsys.entity.table.ScoreSkillTable;
import team.hyznrj.studentsys.form.ConductScoreConditionalForm;

import java.util.List;
import java.util.Set;

/**
 * @author ReMidDream
 * @date 2018-04-09 14:45
 **/
public interface ConductScoreMapper {

    List<ConductScore> findByConductScoreConditionalForm(ConductScoreConditionalForm conductScoreConditionalForm);

    List<ScoreSkillTable> findScoreSkillTableByIds(@Param("ids") Set<String> ids);

    List<ScoreQualityTable> findScoreQualityTableByIds(@Param("ids")Set<String> ids);

    List<ScoreSkillTable> findScoreSkillTableBySkillMarkIds(@Param("ids") List<String> ids);

    List<ScoreQualityTable> findScoreQualityTableByQualityMarkIds(@Param("ids") List<String> ids);

    int deleteScoreSkillTableBySkillMarkIds(@Param("ids") List<String> ids);

    int deleteScoreQualityTableByQualityMarkIds(@Param("ids") List<String> ids);

    int deleteScienceMarkById(String id);

    int deleteSpecialMarkById(String id);

    int deleteOrganizeMarkById(String id);

    int deleteConductScoreById(String id);

    int deleteScoreSkillTableById(String id);

    int deleteScoreQualityTableById(String id);
}
